package main

import "fmt"

type Person struct {
	Name string
}

func (person Person) test() {
	fmt.Println("test()", person.Name)
}
func (person *Person) t1() {
	person.Name = "newSummer"
	fmt.Println("t1()", person.Name)
}
func main() {
	var p Person
	p.Name = "summer"
	p.test()
	var p1 Person
	p1.Name = "夏天"
	p1.t1()

}
